package com.yun.quartz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yun.quartz.domain.SysJob;

import java.util.List;

public interface SysJobMapper extends BaseMapper<SysJob> {

    /**
     * 查询调度任务日志集合
     *
     * @param sysJob 调度信息
     * @return 操作日志集合
     */
    List<SysJob> selectJobList(SysJob sysJob);

    /**
     * 通过调度ID查询调度任务信息
     *
     * @param jobId 调度ID
     * @return 角色对象信息
     */
    SysJob selectJobById(Long jobId);
}
